package com.glela.order.model;

import java.io.Serializable;

/**
 * <dl>
 * <dt>用户普通分佣配置类</dt>
 * </dl>
 * 
 * @author gaoweiqi
 * @date 2018年02月02日 00:00:00
 */
public class UserNormalCommision implements Serializable{
	private static final long serialVersionUID = 7965468613590667640L;
	private int roleID;// 角色
	private int commisionProportion;// 比例 0%-100%
	private boolean ishide;// 是否显示
	private boolean isCalculate;// 是否计算
	
	 
	 
	 
	public UserNormalCommision(int roleID, int commisionProportion,
			boolean ishide, boolean isCalculate) {
		super();
		this.roleID = roleID;
		this.commisionProportion = commisionProportion;
		this.ishide = ishide;
		this.isCalculate = isCalculate;
	}




	public UserNormalCommision() {
		super();
		// TODO Auto-generated constructor stub
	}




	public int getRoleID() {
		return roleID;
	}




	public void setRoleID(int roleID) {
		this.roleID = roleID;
	}




	public int getCommisionProportion() {
		return commisionProportion;
	}




	public void setCommisionProportion(int commisionProportion) {
		this.commisionProportion = commisionProportion;
	}




	public boolean isIshide() {
		return ishide;
	}




	public void setIshide(boolean ishide) {
		this.ishide = ishide;
	}




	public boolean isCalculate() {
		return isCalculate;
	}




	public void setCalculate(boolean isCalculate) {
		this.isCalculate = isCalculate;
	}




	public String toString() {
		return new StringBuffer().append("UserNormalCommision [roleID=").append(roleID)
				.append(", commisionProportion=").append(commisionProportion)
				.append(", isCalculate=").append(isCalculate)
				.append(", ishide=").append(ishide).toString();
	}
}